
package com.ido.babyshow.model;

import java.io.Serializable;
import java.util.Comparator;
import java.util.List;

/**
 * 栏目类
 * @author luo sq
 *
 */
public class SecCatalog implements Serializable{
    
    private static final long serialVersionUID = 2348860759631613863L;    

    private int id;

    private String name;

    private String comments;
    
    private int catalogId;    
    
    private List<Photo> showPhotos;    

    private int shareNum;
    
    public List<Photo> getShowPhotos()
    {
        return showPhotos;
    }

    public void setShowPhotos(List<Photo> showPhotos)
    {
        this.showPhotos = showPhotos;
    }

    public int getCatalogId()
    {
        return catalogId;
    }

    public void setCatalogId(int catalogId)
    {
        this.catalogId = catalogId;
    }

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getComments()
    {
        return comments;
    }

    public void setComments(String comments)
    {
        this.comments = comments;
    }

    public int getShareNum()
    {
        return  showPhotos==null?0:showPhotos.size();
    }
     


}
